﻿using Sundry.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sundry.DAL
{
    public class SundryContext:DbContext
    {
        public DbSet<Admin> Admins { get; set; }
        public DbSet<AdminLoginLog> AdminLoginLogs { get; set; }
        public DbSet<AdminMenu> AdminMenus { get; set; }
        public DbSet<AdminOperation> AdminOperations { get; set; }
        public DbSet<Authory> Authorys { get; set; }
        public DbSet<Brand> Brands { get; set; }
        public DbSet<Category> Categories { get; set; }
    }
}
